package com.reggie.serve.common;

public class BaseContext {
    private static final ThreadLocal<Long> threadLocal = new ThreadLocal<>();

    public static void setCurrentId(Long id) {
        threadLocal.set(id);
    }

    static Long getCurrentId() {
        return threadLocal.get();
    }
}
